package com.rpc.test.server.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/*********
 *
 *
 *@author 197
 *@date 2020/6/18 21:17
 *
 **/

@ComponentScan("com.rpc.test.server")
@SpringBootApplication
public class RpcServerApplication {

  public static void main(String[] args) throws InterruptedException {
    SpringApplication.run(RpcServerApplication.class, "--spring.profiles.active=server");
  }
}
